package com.study.sxc.Entity;

public class Staff {
    private Integer staffId; // 管理员ID
    private String staffName; // 姓名
    private String contact;  // 联系方式
    private String role;     // 职位

    public Staff() {}

    public Staff(Integer staffId, String staffName, String contact, String role) {
        this.staffId = staffId;
        this.staffName = staffName;
        this.contact = contact;
        this.role = role;
    }

    public Integer getStaffId() { return staffId; }
    public void setStaffId(Integer staffId) { this.staffId = staffId; }

    public String getStaffName() { return staffName; }
    public void setStaffName(String staffName) { this.staffName = staffName; }

    public String getContact() { return contact; }
    public void setContact(String contact) { this.contact = contact; }

    public String getRole() { return role; }
    public void setRole(String role) { this.role = role; }

    @Override
    public String toString() {
        return "Staff{" +
                "staffId=" + staffId +
                ", staffName='" + staffName + '\'' +
                ", contact='" + contact + '\'' +
                ", role='" + role + '\'' +
                '}';
    }
}